#ifndef ILG_H_
#define ILG_H_

/*
	Copyright (C) 2011 Salil Bhagurkar

	This file is part of illusion

	illusion is free software: you can redistribute it and/or modify
	it under the terms of the GNU Lesser General Public License as
	published by the Free Software Foundation, either version 3 of
	the License, or (at your option) any later version.

	illusion is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU Lesser General Public License for more details.

	You should have received a copy of the GNU Lesser General Public
	License along with illusion. 
	If not, see <http://www.gnu.org/licenses/>.
*/

#include <kernel/types.h>

#define ILG_SIGN "ILG"
#define ILG_SIGN_LEN 4

struct ilg_pixel {
	u8 r, g, b, a;
};

struct ilg_header {
	char sign[ILG_SIGN_LEN];
	uint_t left, top;
	uint_t height, width;
	struct ilg_pixel pixels[];
};

#endif /* ILG_H_ */
